package com.xian.util;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class tests {

	@Test
	public void test() {
		ApplicationContext applicationContext
		=new ClassPathXmlApplicationContext("applicationContext.xml");
		applicationContext.getBean("sessionFactory");
	
	}

}
